import type { RoleBindUserParams } from '@/types'

const controller = getAjaxBaseUrl('/sysRoleUser')

/** 批量用户绑定角色 */
export function batchUserId(params: RoleBindUserParams[]) {
  return post(`${controller}/batchByRoleUser`, params)
}
